try { google.load('visualization', '1.0'); function drawVisualization() { var data = new google.visualization.DataTable(); data.addColumn("string","עונה"); // f3 data.addColumn("number","כמות (mm)"); // f2 data.addColumn({type:'string', role:'annotation'}); // annotation role col data.addRows([["2023-2024", Number("673.10"), Number("673.10")+''], ["2022-2023", Number("521.30"), Number("521.30")+''], ["2019-2020", Number("5.00"), Number("5.00")+''], ["2018-2019", Number("333.00"), Number("333.00")+''], ["2017-2018", Number("1042.00"), Number("1042.00")+''], ["2016-2017", Number("232.20"), Number("232.20")+''], ["2014-2015", Number("120.50"), Number("120.50")+'']]); google.visualization.drawChart({ "containerId": "chartDiv3", chartType:"ColumnChart", dataTable:data, options:{ "width":"100%", "height":"400", legend:{"position" : "none"}, vAxis:{ viewWindow:{min:0,max:1090,} /* DO NOT CHANGE THIS LINE */ }, hAxis: { direction:-1, }, width: '100%', height: '200px', animation:{"startup": true,duration: 3000,easing: 'out',}, } }); } google.setOnLoadCallback(drawVisualization); if ("chartCode") { document.getElementById("chartDiv3").redoChart = function() { var src = $("#chartScript3").prop("src"); src = src.replace(/&r=[^&]+/,""); src =src.replace(/&func=[^&]+/,""); src += "&func=drew3&r="+(new Date()).getTime(); var newScriptTag = document.createElement("script"); newScriptTag.type = "text/javascript"; newScriptTag.src = src; $("#chartDiv3").html(""); document.getElementById("chartDiv3").parentNode.appendChild(newScriptTag); }; } } catch(err) {}